package com.twu.biblioteca.data;

/**
 * Created by florian on 5/01/14.
 */
public class Movie extends BibliotecaItem {
    private String name;
    private int year;
    private String director;
    private MovieRating rating;


    public Movie(int id, String name, int year, String director, MovieRating rating,boolean available,User checkedOutBy) {
        super(id, checkedOutBy);
        this.name = name;
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    public String getName() {
        return name;
    }

    public int getYear() {
        return year;
    }

    public String getDirector() {
        return director;
    }

    public MovieRating getRating() {
        return rating;
    }
}
